const { Switch } = require("../lib/types");

module.exports = {
    name: "ngx_stream_limit_conn_module",
    map: {
        limit_conn: [String, , ["stream", "server"]],
        limit_conn_dry_run: [Switch, false, ["stream", "server"]],
        limit_conn_log_level: [String, "error", ["stream", "server"]],
        limit_conn_zone: [String, , "stream"]
    }
};